DrawThemeWindowHeader
NEW WITH THE APPEARANCE MANAGER
Draws a window header consistent with the current theme.
pascal OSStatus DrawThemeWindowHeader ( const Rect *inRect, ThemeDrawState inState);
inRect
- On input, a pointer to a rectangle.
inState
- A value specifying the state in which the window header is to be drawn; see "Appearance-Compliant Draw State Constants". The header can only be drawn as active or inactive; passing
kThemeStatePressed
will result in an error being returned.- function result
- A result code; see "Result Codes".
DISCUSSION
TheDrawThemeWindowHeader
function draws a window header such as that used by the Finder. The window header is drawn inside the rectangle that is passed.SEE ALSO
"Control Guidelines" in Mac OS 8 Human Interface Guidelines.